import request from '../utils/request';

const moduleUrl = '/system';

const system = {
    // 获取系统信息
    getSystemInfo() {
        return request.get(`${moduleUrl}/getSystemInfo`);
    },
    //获取专业列表
    getSystemsList(){
        return request.get(`${moduleUrl}/getSystemsList`);
    },
    //文件上传
    uploadFile(formData){
        return request.upload(`/fileUpload/upload`, formData);
    }
};

export default system;
